package cn.common.dto.constants;

/**
 * Copyright
 *
 * @Author WuHuang
 * @Date 2022/12/21
 */
public class RetryConstants {
    public static final String RETRY_PREFIX = "basic-retry:";
    public static final String RETRY_DELAY_QUEUE_TOPIC = "basicRetryDelayQueueService";
    public static final int RETRY_PREFIX_EXPIRE_TIME = 18000;
    public static final int DELAY_JOB_TTR = 5;
    public static final String RETRY_TOPIC = "basic_retry_submit_delay_job_topic_test";
    public static final String RETRY_IDEMPOTENT_TOPIC = "basic_retry_idempotent_topic";
    public static final String RETRY_SERVICE_NAME = "serverName";
    public static final String RETRY_WORK_NAME = "workName";
    public static final String RETRY_RETRY_NO = "retryNo";
    public static final String RETRY_DELAY_RETRY_MAX_COUNT = "delayRetryMaxCount";
    public static final String RETRY_DELAY_CURRETRY_COUNT = "delayCurRetryCount";
    public static final String RETRY_BUSINESS_NO = "businessNo";
    public static final String RETRY_BUSINESS_NAME = "businessName";
    public static final String RETRY_SORTED_LEVEL_List = "sortedLevelList";
    public static final String RETRY_SEND_MESSAGE_CURRENT_COUNT = "sendMessageCurrentCount";
    public static Double ALARM_RATE = 0.6;
    public static String RETRY_RECORD_INDEX = "basic-retry-service";

    public RetryConstants() {
    }
}
